<div id="order-pay-dialog" class="order-pay-dialog-c" style="width:380px;">
	<h3><span id="order-pay-dialog-close" class="close" onclick="return X.boxClose();">关闭</span>${$banner?'编辑':'新建'}banner</h3>
	<div style="overflow-x:hidden;padding:10px;">
	<p>时间格式为 2011-9-18 16:32:19</p>
<form method="post" action="/manage/system/banner/edit.php" class="validator" enctype="multipart/form-data" >
	<input type="hidden" name="id" value="{$banner['id']}" />
	<table width="96%" class="coupons-table">
		<tr><td width="80" nowrap><b>标题：</b></td><td><input type="text" name="title" value="{$banner['title']}" require="true" datatype="require" class="f-input" /></td></tr>
        <tr><td nowrap><b>Banner图片：</b></td><td><input type="file" name="upload_image" class="f-input" /></td></tr>
		<tr><td nowrap><b>开始时间：</b></td><td><input type="text" name="begin_time" value="${date('Y-m-d H:i:s',$banner['begin_time'])}" class="f-input" /></td></tr>
		<tr><td nowrap><b>结束时间：</b></td><td><input type="text" name="end_time" value="${date('Y-m-d H:i:s',$banner['end_time'])}" class="f-input" /></td></tr>
		<tr><td nowrap><b>自定义URL：</b></td><td><input type="text" name="custom" value="{$banner['custom']}" class="f-input" /></td></tr>
		<tr><td nowrap><b>Banner位置：</b></td><td><select name="position">${Utility::Option($option_banner_position, $banner['position'])}</select></td></tr>
		<tr><td nowrap><b>排序(降序)：</b></td><td><input type="text" name="sort_order" value="${intval($banner['sort_order'])}" class="f-input" /></td></tr>
		<tr><td nowrap><b>是否显示(Y/N)：</b></td><td><input type="text" name="display" value="{$banner['display']}" class="f-input" /></td></tr>
		<tr><td colspan="2" height="10">&nbsp;</td></tr>
		<tr><td></td><td><input type="submit" value="确定" class="formbutton" /></td></tr>
	</table>
</form>
	</div>
</div>
